<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/main/table.css"/>
<link rel="stylesheet" href="/css/main/page.css"/>
<link rel="stylesheet" href="/css/common/list.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/js/page.js"></script>
<script type="text/javascript" src="${ctx}/js/report/taskReportList.js"></script>

<body>
<div>
    <input type="hidden" id="dataUrl" value="${dataUrl}"/>
    <div class="list-group">
        <table id="dynamic-table" class="table table-stripe" role="grid"
               aria-describedby="dynamic-table_info">
            <thead>
            <tr role="row" style=" background: #CDD9D9;" class="tableHead">
                <th width="400px" tabindex="0" rowspan="1" colspan="1">任务名称</th>
                <th width="255px" tabindex="0" rowspan="1" colspan="1">下载</th>

            </tr>
            </thead>
            <tbody>
            <#list taskList as task>
            <tr role="row" class="odd">

                <td><b>${task.caption!""}</b></td>
            <#--<td><b>1</b></td>-->
                <#--整改通知单、整改闭环单、项目评分表、检查表-->
                <td>&nbsp;&nbsp;&nbsp;<a class="dropdown-toggle" href="javascript:getRectificationNotice('${task.id}')">整改通知单</a>
                    &nbsp;&nbsp;<a class="dropdown-toggle" href="javascript:getRectifyClosedLoop('${task.id}')">整改闭环单</a>
                    <#--<br/>-->
                    &nbsp;&nbsp;<a class="dropdown-toggle" href="javascript:getProjectScoreTable('${task.id}')">项目评分表</a>
                    &nbsp;&nbsp;<a class="dropdown-toggle" href="javascript:getChecklist('${task.id}')">检查表</a></td>
            </tr>
            </#list>
            </tbody>
        </table>

    </div>
    <div class="row">
        <div class="page-info" id="table_info">
        <#--第${nowBegin}-${nowEnd}条，共${count}条-->
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    <#--new page({pageMain:"pagination",nowPage:${page!'1'},count:${count},pageSize:${pageSize!'10'},-->
    <#--url:"/admin/user",params:"?pageSize=${pageSize}&query=${query}",pakey:"page"});-->

    new tablePage(${page} ,${pageSize} ,${count?c}  , getUul(), getParams());

    function getUul() {
            return '${ctx}/reportManage/taskReportListUI?'

    }
    function getParams() {
        return "1=1" ;
    }
    <#--function lookDetails(id) {-->
    <#--window.open("${ctx}/homepage/getphotoListDetails?projectId="+id);-->
    <#--}-->
</script>
</html>
